package com.project.entity;

import com.project.myBeans.EntitySupport;

import java.sql.Time;
import java.sql.Timestamp;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

public class Exam extends EntitySupport
{
    private Integer id;

    private String name;

    private String place;
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    private Date examdate;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp starttime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp finishtime;

    private int duration;

    private Integer exampaperid;

    private Integer nop;

    private String invigilator1;

    private String Invigilator2;

    private Integer state;  //考试状态 1-未开考  2-考试中  3-已结束

    private Integer courseteachid;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getPlace()
    {
        return place;
    }

    public void setPlace(String place)
    {
        this.place = place;
    }

    public Date getExamdate()
    {
        return examdate;
    }

    public void setExamdate(Date examdate)
    {
        this.examdate = examdate;
    }


    public void setStarttime(Timestamp starttime)
    {
        this.starttime = starttime;
    }

    public Timestamp getFinishtime() {
        return finishtime;
    }

    public Timestamp getStarttime() {
        return starttime;
    }

    public void setFinishtime(Timestamp finishtime) {
        this.finishtime = finishtime;
    }

    public Integer getExampaperid()
    {
        return exampaperid;
    }

    public void setExampaperid(Integer exampaperid)
    {
        this.exampaperid = exampaperid;
    }

    public Integer getNop()
    {
        return nop;
    }

    public void setNop(Integer nop)
    {
        this.nop = nop;
    }

    public String getInvigilator1() {
        return invigilator1;
    }

    public Integer getCourseteachid() {
        return courseteachid;
    }

    public String getInvigilator2() {
        return Invigilator2;
    }

    public void setCourseteachid(Integer courseteachid) {
        this.courseteachid = courseteachid;
    }

    public void setInvigilator1(String invigilator1) {
        this.invigilator1 = invigilator1;
    }

    public void setInvigilator2(String invigilator2) {
        Invigilator2 = invigilator2;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

}
